package com.qingke.serviceImp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qingke.dao.BlogDao;
import com.qingke.pojo.Blog;
import com.qingke.service.BlogService;

@Service("blogService")
public class BlogServiceImp implements BlogService{
	
	@Autowired
	BlogDao blogdao;
	
	public Blog selectBlogById(int blogid) {
		Blog blog = (Blog) blogdao.selectById(blogid);
		return blog;
	}
	
}
